package com.delu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 6子的爹
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("coupon_type")
@ApiModel(value="CouponType对象", description="")
public class CouponType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "优惠券类型ID")
    @TableId(value = "coupon_type", type = IdType.AUTO)
    private Integer couponType;

    @ApiModelProperty(value = "优惠券类型的名称")
    @TableField("coupon_name")
    private String couponName;

    @ApiModelProperty(value = "优惠券标题(的卢租车*新用户120元立减券)")
    @TableField("coupon_title")
    private String couponTitle;

    @ApiModelProperty(value = "使用说明:使用时间(描述)")
    @TableField("coupon_time_pec")
    private String couponTimePec;

    @ApiModelProperty(value = "使用说明:使用规则(描述)")
    @TableField("coupon_role")
    private String couponRole;

    @ApiModelProperty(value = "使用说明:适用范围(描述)")
    @TableField("coupon_range")
    private String couponRange;


}
